import Vue from 'vue'
import Router from 'vue-router'
import mapEditor from '@/components/mapEditor'
import maze from '@/components/maze'
import doodle from '@/components/doodle'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/mapEditor',
      name: 'mapEditor',
      component: mapEditor
    },
    {
      path: '/maze',
      name: 'maze',
      component: maze
    },
    {
      path: '/',
      name: 'doodle',
      component: doodle
    }
  ]
})
